<template>
  <div class="home">
    <Monitor></Monitor>
    <Search></Search>
    <Keyword></Keyword>
  </div>
</template>

<script lang="ts">
import Monitor from "./monitor/index.vue"
import Search from "./search/index.vue"
import Keyword from "./keyword/index.vue"

export default {
  name: "Home",
  components: { Monitor },
}
</script>

<script lang="ts" setup>
import { ref, onMounted } from "vue"
import { useUserInfoStore } from "@/stores/userInfo"
import { useReportDataStore } from "@/stores/reportData"

const userInfoStore = useUserInfoStore()
const reportDataStore = useReportDataStore()

onMounted(() => {
  reportDataStore.getReportData()
})
</script>

<style scoped>
.home {
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: #eee;
}
</style>
